<template>
	<div class="block">
		<span class="demonstration"></span>
		<el-carousel height="500px">
			<el-carousel-item v-for="item in 4" :key="item"> </el-carousel-item>
		</el-carousel>
	</div>
</template>
<script>
export default {
	// eslint-disable-next-line vue/multi-word-component-names
	name: "carousel",
	// components: {
	// 	carousel,
	// },
	props: {
		webSiteInfo: {
			type: Object,
		},
	},
};
</script>
<style scoped>
.el-carousel__item h3 {
	color: #475669;
	font-size: 14px;
	opacity: 0.75;
	line-height: 150px;
	margin: 0;
}

.el-carousel__item:nth-child(4n) {
	background-color: #99a9bf;
	background-image: url("../account/img/1.jpg");
	height: 100%;
	width: 100%;
}

.el-carousel__item:nth-child(4n + 1) {
	background-color: #d3dce6;
	background-image: url("../account/img/11.png");
	height: 100%;
	width: 100%;
}
.el-carousel__item:nth-child(4n + 2) {
	background-color: #d3dce6;
	background-image: url("../account/img/11111.png");
	height: 100%;
	width: 100%;
}
.el-carousel__item:nth-child(4n + 3) {
	background-color: #d3dce6;
	background-image: url("../account/img/R-C.jpg");
	height: 100%;
	width: 100%;
}
</style>
